Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jun 2021 15:35:18 +0000 (17:35 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 3 Aug 2021 05:50:50 +0000 (06:50 +0100)
commitaacc9a4bf3a401cc8483a028cd925c06c32fae30
tree4505f66affd3459162522639c27e923c384c31a9
parent0b5daa8ca814a60381fc746d464e5f4388e83e36
Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"

Origin: https://git.kernel.org/linus/4d6035f9bf4ea12776322746a216e856dfe46698
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213481
Bug-Debian: https://bugs.debian.org/990008

Revert commit 4514d991d992 ("PCI: PM: Do not read power state in
pci_enable_device_flags()") that is reported to cause PCI device
initialization issues on some systems.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213481
Link: https://lore.kernel.org/linux-acpi/YNDoGICcg0V8HhpQ@eldamar.lan
Reported-by: Michael <phyre@rogers.com>
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Fixes: 4514d991d992 ("PCI: PM: Do not read power state in pci_enable_device_flags()")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name Revert-PCI-PM-Do-not-read-power-state-in-pci_enable_.patch
drivers/pci/pci.c